package com.crazymaker.springcloud.cloud.center.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(scanBasePackages =
        {"com.crazymaker.springcloud.cloud.center.zuul",
                "com.crazymaker.springcloud.standard",
                "com.crazymaker.springcloud.user.info.api.fallback"
        })
@EnableScheduling
@EnableHystrix
@EnableDiscoveryClient
@EnableZuulProxy
public class ZuulServerApplication
{

    public static void main(String[] args)
    {
        SpringApplication.run(ZuulServerApplication.class, args);
    }


}
